<?php
/**
 * Default home page view
 *
 * @author
 * @version
 */
$params = Baogg_Controller::getUrlParams();
?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <?php echo $this->action('header', 'index', 'default', array ()); ?>
         </head>
    <body>
        <div id="doc2" class="yui-t5">
	    <?php echo $this->action('navigator', 'index', 'default', array ()); ?>
            <div id="bd">
                <div id="yui-main">
                    <div class="yui-b" id="content">
                        <?php echo $this->action('list', 'article', 'blog', array ()); ?>
                    </div>
                </div>
                <div class="yui-b" id="module">
                    <?php
                    echo $this->action('viewmy', 'tag', 'blog', array ());
                    echo $this->action('lastest', 'article', 'blog', array ());
                    echo $this->action('lastest', 'comment', 'blog', array ());
                   
                
                    ?>
               
                </div>
            </div>
            <?php
            echo $this->action('rights', 'index', 'default', array ());
            ?>
        </div>

		<script type="text/javascript">
			 $(function(){
				 var bodyHeight=$("#bd").height();
				 var moduleHeight=$("#module").height();
                if (parseInt(bodyHeight) > parseInt(moduleHeight)) {
                    $("#module").height($("#bd").height());
                }
            });
		</script>
    </body>
</html>
